package com.dkm.ec.home.persistence.entity;

import java.util.List;
import java.util.Map;

import com.dkm.ec.product.persistence.entity.ProdSeoPo;
import com.dkm.ec.product.persistence.entity.ProductEntityPo;
import com.dkm.ec.product.persistence.entity.ProductMediaPo;

/**
 * 对象功能:家居产品 entity对象
 * 开发公司:SKG.COM
 * 开发人员:颜超敏
 * 创建时间:2014-12-17 11:31:17
 */
public class HomeEntityPo extends HomeEntityTbl{
	
	private static final long serialVersionUID = 1L;
	
	public final static class TYPE{
		public final static String SCENE= "scene";
		public final static String WHOLE = "whole";
	}

	private boolean needGenSolr = true;
	
	@Override
	public String toString() {
		return "HomeEntityPo [descContent=" + descContent
				+ ", productMediaPos=" + productMediaPos + ", attrDataMap="
				+ attrDataMap + ", prodSeoPo=" + prodSeoPo + "]";
	}

	private String  descContent;
	
	

	private List<ProductMediaPo> productMediaPos;
	
	private Map<String, Object> attrDataMap;
	
	private ProdSeoPo prodSeoPo;
	
	private List<HomeEntityPo> prodReList;
	
	private ProductEntityPo productEntityPo;
	
	private String cateName;
	private String cateKey;
	private String styleKey;
	private String subStyleKey;
	private Integer  width; 		/*原图宽*/
	private Integer  height; 		/*原图高*/
	
	private String mainImgPath;
	
	
	private String doorCloudPath;
	private String mainCloudPath;
	private List<HomeEntityPo> associatHomeEntityPos;  //户型关联的场景
	private List<HomeEntityPo> associatWholeHomeEntityPos;  //场景关联的户型

	public boolean isNeedGenSolr() {
		return needGenSolr;
	}

	public void setNeedGenSolr(boolean needGenSolr) {
		this.needGenSolr = needGenSolr;
	}

	public ProductEntityPo getProductEntityPo() {
		return productEntityPo;
	}

	public void setProductEntityPo(ProductEntityPo productEntityPo) {
		this.productEntityPo = productEntityPo;
	}

	public String getDescContent() {
		return descContent;
	}

	public void setDescContent(String descContent) {
		this.descContent = descContent;
	}

	public List<ProductMediaPo> getProductMediaPos() {
		return productMediaPos;
	}

	public void setProductMediaPos(List<ProductMediaPo> productMediaPos) {
		this.productMediaPos = productMediaPos;
	}

	public Map<String, Object> getAttrDataMap() {
		return attrDataMap;
	}

	public void setAttrDataMap(Map<String, Object> attrDataMap) {
		this.attrDataMap = attrDataMap;
	}

	public ProdSeoPo getProdSeoPo() {
		return prodSeoPo;
	}

	public void setProdSeoPo(ProdSeoPo prodSeoPo) {
		this.prodSeoPo = prodSeoPo;
	}

	public List<HomeEntityPo> getProdReList() {
		return prodReList;
	}

	public void setProdReList(List<HomeEntityPo> prodReList) {
		this.prodReList = prodReList;
	}

	public String getCateName() {
		return cateName;
	}

	public void setCateName(String cateName) {
		this.cateName = cateName;
	}

	public String getCateKey() {
		return cateKey;
	}

	public void setCateKey(String cateKey) {
		this.cateKey = cateKey;
	}

	public String getStyleKey() {
		return styleKey;
	}

	public void setStyleKey(String styleKey) {
		this.styleKey = styleKey;
	}

	public String getSubStyleKey() {
		return subStyleKey;
	}

	public void setSubStyleKey(String subStyleKey) {
		this.subStyleKey = subStyleKey;
	}

	public String getMainImgPath() {
		return mainImgPath;
	}

	public void setMainImgPath(String mainImgPath) {
		this.mainImgPath = mainImgPath;
	}

	public List<HomeEntityPo> getAssociatHomeEntityPos() {
		return associatHomeEntityPos;
	}

	public void setAssociatHomeEntityPos(List<HomeEntityPo> associatHomeEntityPos) {
		this.associatHomeEntityPos = associatHomeEntityPos;
	}

	public String getDoorCloudPath() {
		return doorCloudPath;
	}

	public void setDoorCloudPath(String doorCloudPath) {
		this.doorCloudPath = doorCloudPath;
	}

	public String getMainCloudPath() {
		return mainCloudPath;
	}

	public void setMainCloudPath(String mainCloudPath) {
		this.mainCloudPath = mainCloudPath;
	}

	public Integer getWidth() {
		return width;
	}

	public void setWidth(Integer width) {
		this.width = width;
	}

	public Integer getHeight() {
		return height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public List<HomeEntityPo> getAssociatWholeHomeEntityPos() {
		return associatWholeHomeEntityPos;
	}

	public void setAssociatWholeHomeEntityPos(
			List<HomeEntityPo> associatWholeHomeEntityPos) {
		this.associatWholeHomeEntityPos = associatWholeHomeEntityPos;
	}


	
	
}